home *** CD-ROM | disk | FTP | other *** search
/ PC World 2007 January / PCWorld_2007-01_cd.bin / v cisle / hotkey / AutoHotkey104504_Install.exe / Extras / ahk.properties < prev    next >
Encoding:
Text File  |  2006-11-04  |  10.5 KB  |  196 lines

  1. # SciTE settings for AutoHotkey files
  2. # Roman Hubacek - http://permalink.gmane.org/gmane.editors.scite.general/5917
  3. # Updated 2006/02/21 by Philippe Lhoste (PhiLho) & Serenity
  4.  
  5. # AutoHotkey program installation directory:
  6. # for API file access, running scripts (F5) and getting help on keywords (F1)
  7. #~ autohotkeydir=C:\Program Files\AutoHotkey
  8. autohotkeydir=C:\Program Files\USys\AutoHotkey
  9.  
  10. file.patterns.ahk=*.ahk
  11. lexer.$(file.patterns.ahk)=asm
  12.  
  13.  
  14. # Keywords must be in lowercase for case-insensitive comparison
  15.  
  16. # Commands and Functions
  17. keywords.$(file.patterns.ahk)=\
  18. allowsamelinecomments clipboardtimeout commentflag errorstdout escapechar \
  19. hotkeyinterval hotkeymodifiertimeout hotstring include includeagain \
  20. installkeybdhook installmousehook keyhistory ltrim maxhotkeysperinterval \
  21. maxmem maxthreads maxthreadsbuffer maxthreadsperhotkey noenv notrayicon persistent \
  22. singleinstance usehook winactivateforce \
  23. autotrim blockinput break click clipwait continue control controlclick controlfocus \
  24. controlget controlgetfocus  controlgetpos controlgettext controlmove \
  25. controlsend controlsendraw controlsettext coordmode critical detecthiddentext \
  26. detecthiddenwindows drive driveget drivespacefree edit else endrepeat envadd \
  27. envdiv envget envmult envset envsub envupdate exit exitapp fileappend filecopy \
  28. filecopydir filecreatedir filecreateshortcut filedelete filegetattrib \
  29. filegetshortcut filegetsize filegettime filegetversion fileinstall filemove \
  30. filemovedir fileread filereadline filerecycle filerecycleempty fileremovedir \
  31. fileselectfile fileselectfolder filesetattrib filesettime formattime \
  32. getkeystate gosub goto groupactivate groupadd groupclose groupdeactivate gui \
  33. guicontrol guicontrolget hideautoitwin hotkey if  ifequal ifexist ifgreater \
  34. ifgreaterorequal ifinstring ifless iflessorequal ifmsgbox ifnotequal \
  35. ifnotexist ifnotinstring ifwinactive ifwinexist ifwinnotactive ifwinnotexist \
  36. imagesearch inidelete iniread iniwrite input inputbox keyhistory keywait \
  37. listhotkeys listlines listvars loop menu mouseclick mouseclickdrag mousegetpos \
  38. mousemove msgbox onexit outputdebug pause pixelgetcolor pixelsearch \
  39. postmessage process progress random regdelete regread regwrite reload repeat \
  40. return run runas runwait send sendevent sendinput sendmode sendplay sendmessage sendraw setbatchlines \
  41. setcapslockstate setcontroldelay setdefaultmousespeed setenv setformat \
  42. setkeydelay setmousedelay setnumlockstate setscrolllockstate \
  43. setstorecapslockmode settimer settitlematchmode setwindelay setworkingdir \
  44. shutdown sleep sort soundbeep soundget soundgetwavevolume soundplay soundset \
  45. soundsetwavevolume splashimage splashtextoff splashtexton splitpath \
  46. statusbargettext statusbarwait stringcasesense stringgetpos stringleft \
  47. stringlen stringlower stringmid stringreplace stringright stringsplit \
  48. stringtrimleft stringtrimright stringupper suspend sysget thread tooltip \
  49. transform traytip urldownloadtofile winactivate winactivatebottom winclose \
  50. winget wingetactivestats wingetactivetitle wingetclass wingetpos wingettext \
  51. wingettitle winhide winkill winmaximize winmenuselectitem winminimize \
  52. winminimizeall winminimizeallundo winmove winrestore winset winsettitle \
  53. winshow winwait winwaitactive winwaitclose winwaitnotactive \
  54. \
  55. abs acos asc asin atan ceil chr cos dllcall exp fileexist floor getkeystate \
  56. il_add il_create il_destroy instr islabel ln log lv_add lv_delete lv_deletecol \
  57. lv_getcount lv_getnext lv_gettext lv_insert lv_insertcol lv_modify \
  58. lv_modifycol lv_setimagelist mod onmessage regexmatch regexreplace round sin tan sqrt strlen \
  59. sb_seticon sb_setparts sb_settext \
  60. tv_add tv_delete tv_getchild tv_getcount tv_getnext tv_get tv_getparent \
  61. tv_getprev tv_getselection tv_gettext tv_modify \
  62. varsetcapacity winactive winexist
  63.  
  64. # Keys, buttons, variables and keywords
  65. keywords2.$(file.patterns.ahk)=\
  66. shift lshift rshift alt lalt ralt control lcontrol rcontrol \
  67. ctrl lctrl rctrl lwin rwin appskey \
  68. altdown altup shiftdown shiftup ctrldown ctrlup \
  69. lwindown lwinup rwindown rwinup \
  70. lbutton rbutton mbutton wheelup wheeldown xbutton1 xbutton2 \
  71. joy1 joy2 joy3 joy4 joy5 joy6 joy7 joy8 joy9 joy10 joy11 joy12 joy13 joy14 \
  72. joy15 joy16 joy17 joy18 joy19 joy20 joy21 joy22 joy23 joy24 joy25 joy26 joy27 \
  73. joy28 joy29 joy30 joy31 joy32 \
  74. joyx joyy joyz joyr joyu joyv joypov joyname joybuttons joyaxes joyinfo \
  75. space tab enter escape esc backspace bs delete del insert ins pgup pgdn \
  76. home end up down left right \
  77. printscreen ctrlbreak pause scrolllock capslock numlock \
  78. numpad0 numpad1 numpad2 numpad3 numpad4 numpad5 numpad6 numpad7 numpad8 numpad9 \
  79. numpadmult numpadadd numpadsub numpaddiv numpaddot numpaddel numpadins \
  80. numpadclear numpadup numpaddown numpadleft numpadright numpadhome numpadend \
  81. numpadpgup numpadpgdn numpadenter \
  82. f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12 \
  83. f13 f14 f15 f16 f17 f18 f19 f20 f21 f22 f23 f24 \
  84. browser_back browser_forward browser_refresh browser_stop browser_search \
  85. browser_favorites browser_home volume_mute volume_down volume_up \
  86. media_next media_prev media_stop media_play_pause \
  87. launch_mail launch_media launch_app1 launch_app2 \
  88. \
  89. a_ahkpath a_ahkversion a_appdata a_appdatacommon a_autotrim a_batchlines a_caretx a_carety \
  90. a_computername a_controldelay a_cursor a_dd a_ddd a_dddd a_defaultmousespeed \
  91. a_desktop a_desktopcommon a_detecthiddentext a_detecthiddenwindows a_endchar \
  92. a_eventinfo a_exitreason a_formatfloat a_formatinteger a_gui a_guievent \
  93. a_guicontrol a_guicontrolevent a_guiheight a_guiwidth a_guix a_guiy a_hour \
  94. a_iconfile a_iconhidden a_iconnumber a_icontip a_index \
  95. a_ipaddress1 a_ipaddress2 a_ipaddress3 a_ipaddress4 a_isadmin a_iscompiled \
  96. a_issuspended a_keydelay a_language a_lasterror a_linefile a_linenumber \
  97. a_loopfield a_loopfileattrib a_loopfiledir a_loopfileext a_loopfilefullpath \
  98. a_loopfilelongpath a_loopfilename a_loopfileshortname a_loopfileshortpath \
  99. a_loopfilesize a_loopfilesizekb a_loopfilesizemb a_loopfiletimeaccessed \
  100. a_loopfiletimecreated a_loopfiletimemodified a_loopreadline a_loopregkey \
  101. a_loopregname a_loopregsubkey a_loopregtimemodified a_loopregtype \
  102. a_mday a_min a_mm a_mmm a_mmmm a_mon a_mousedelay a_msec a_mydocuments \
  103. a_now a_nowutc a_numbatchlines a_ostype a_osversion a_priorhotkey \
  104. programfiles a_programfiles a_programs a_programscommon a_screenheight a_screenwidth \
  105. a_scriptdir a_scriptfullpath a_scriptname a_sec a_space a_startmenu \
  106. a_startmenucommon a_startup a_startupcommon a_stringcasesense a_tab \
  107. a_temp a_thishotkey a_thismenu a_thismenuitem a_thismenuitempos a_tickcount \
  108. a_timeidle a_timeidlephysical a_timesincepriorhotkey a_timesincethishotkey \
  109. a_titlematchmode a_titlematchmodespeed a_username a_wday a_windelay a_windir \
  110. a_workingdir a_yday a_year a_yweek a_yyyy clipboard clipboardall comspec errorlevel \
  111. true false \
  112. \
  113. pixel mouse screen relative rgb \
  114. ltrim rtrim join \
  115. low belownormal normal abovenormal high realtime \
  116. ahk_id ahk_pid ahk_class ahk_group \
  117. between contains in is integer float number digit xdigit \
  118. alpha upper lower alnum time date \
  119. not or and \
  120. alwaysontop topmost top bottom transparent transcolor redraw region id idlast \
  121. processname minmax controllist count list capacity statuscd eject lock unlock \
  122. label filesystem label setlabel serial type status \
  123. static global local byref \
  124. seconds minutes hours days \
  125. read parse \
  126. logoff close error single \
  127. tray add rename check uncheck togglecheck enable disable toggleenable default \
  128. nodefault standard nostandard color delete deleteall icon noicon tip click \
  129. show mainwindow nomainwindow useerrorlevel \
  130. text picture pic groupbox button checkbox radio dropdownlist ddl combobox \
  131. listbox listview datetime monthcal updown slider tab statusbar treeview \
  132. iconsmall tile report sortdesc nosort nosorthdr grid hdr autosize range \
  133. xm ym ys xs xp yp \
  134. font resize owner submit nohide minimize maximize restore noactivate na \
  135. cancel destroy center \
  136. margin maxsize minsize owndialogs guiescape guiclose guisize guicontextmenu guidropfiles \
  137. tabstop section altsubmit wrap hscroll vscroll border top bottom buttons \
  138. expand first imagelist lines wantctrla wantf2 vis visfirst \
  139. number uppercase lowercase limit password multi wantreturn group background \
  140. bold italic strike underline norm backgroundtrans theme caption delimiter \
  141. minimizebox maximizebox sysmenu toolwindow flash style exstyle check3 checked \
  142. checkedgray readonly password hidden left right center notab section move \
  143. focus hide choose choosestring text pos enabled disabled visible lastfound lastfoundexist \
  144. alttab shiftalttab alttabmenu alttabandmenu alttabmenudismiss \
  145. notimers interrupt priority waitclose \
  146. blind raw \
  147. unicode deref pow bitnot bitand bitor bitxor bitshiftleft bitshiftright \
  148. yes no ok cancel abort retry ignore tryagain \
  149. on off all \
  150. hkey_local_machine hkey_users hkey_current_user hkey_classes_root \
  151. hkey_current_config hklm hku hkcu hkcr hkcc \
  152. reg_sz reg_expand_sz reg_multi_sz reg_dword reg_qword reg_binary \
  153. reg_link reg_resource_list reg_full_resource_descriptor \
  154. reg_resource_requirements_list reg_dword_big_endian
  155.  
  156. # API file for AutoHotkey can be found in Extras\Editors\Notepad++ directory
  157. api.$(file.patterns.ahk)=$(autohotkeydir)\Extras\Editors\Notepad++\AHK Autohotkey.api
  158. calltip.asm.word.characters=#$(chars.alpha)$(chars.numeric)
  159. calltip.asm.parameters.start= (,
  160.  
  161.  
  162. # Base (background, base font)
  163. style.asm.32=
  164. # Default (everything not below: spaces, unrecognised operators {}#)
  165. style.asm.0=
  166. # Comment (; syntax)
  167. style.asm.1=$(colour.code.comment.line),$(font.code.comment.line)
  168. # Number
  169. style.asm.2=$(colour.number)
  170. # String
  171. style.asm.3=$(colour.string)
  172. # Operator
  173. style.asm.4=$(colour.operator),bold
  174. # Identifier
  175. style.asm.5=
  176. # Keyword - commands & functions
  177. style.asm.6=$(colour.keyword),bold
  178. # Keyword 2 - keys & variables
  179. style.asm.7=$(colour.char)
  180. # Comment block (/*...*/ syntax, unimplemented)
  181. style.asm.11=$(colour.code.comment.box),$(font.code.comment.box)
  182. # Character/String (single quote) (not used in AHK, left to default)
  183. style.asm.12=
  184. # End of line where string is not closed (left as default as it triggers on single " or ')
  185. style.asm.13=
  186.  
  187.  
  188. # Command to run script (F5)
  189. command.go.$(file.patterns.ahk)="$(autohotkeydir)\AutoHotkey.exe" "$(FileNameExt)"
  190. # Commands to compile script (F7 & Ctrl+F7)
  191. command.compile.*.ahk=$(autohotkeydir)\Compiler\Ahk2Exe.exe /in "$(FilePath)"
  192. command.build.*.ahk="$(autohotkeydir)\Compiler\Ahk2Exe.exe" /in "$(FilePath)"
  193. # Help on keywords (F1)
  194. command.help.*.ahk=$(CurrentWord)!$(autohotkeydir)\AutoHotkey.chm
  195. command.help.subsystem.*.ahk=4
  196.